// 用户权限可用路由
export default [
    {
        path: "",
        name: "default",
        component: ()=>import('@/views/home/index.vue'),
        children:[
            {
                path: "",
                name: "home",
                component: ()=>import("@/views/home/home.vue")
            },
            // 运维组件
            {
                path: "/operation-home",
                name: "operation-home",
                component: ()=>import("@/views/operations/operation-home.vue")
            },
            // 过滤规则
            {
                path: "/operation-rule",
                name: "operation-rule",
                component: ()=>import("@/views/operations/operation-rule.vue")
            },
            // 检测规则
            {
                path: "/detect-rule",
                name: "detect-rule",
                component: ()=>import("@/views/operations/detect-rule.vue")
            },
            {
                path: "/mail-manager",
                name: "mail-manager",
                component: ()=>import("@/views/operations/mail-manager.vue")
            },
            // 监控组件
            {
                path: "/monitor-mail",
                name: "monitor-mail",
                component: ()=>import("@/views/monitors/monitor-mail.vue")
            },
            {
                path: "/monitor-record",
                name: "monitor-record",
                component: ()=>import("@/views/monitors/monitor-record.vue")
            },

            // 其他
            {
                path: "/about",
                name: "about",
                component: ()=>import("@/views/about/about.vue")
            },
        ]
    },
    {
        path: "/index",
        name: "index",
        component: ()=>import('@/views/home/index.vue'),
    },

    

    
]